<template>
    <QfPage title="个人用户编辑">
        <template #ct>
            <el-table :data="tableData" style="width: 100%">
                <el-table-column type="selection" width="55" />
                <el-table-column prop="no" label="编号" />
                <el-table-column prop="img" label="头像" />
                <el-table-column prop="name" label="名字" />
                <el-table-column prop="cellphone" label="手机" />
                <el-table-column prop="date" label="注册时间" />
                <el-table-column label="操作">
                    <template #default="scope">

                        <el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
                        <el-popconfirm title="真的要删除吗?">
                            <template #reference>
                                <el-button size="small" type="danger"
                                    @click="handleDelete(scope.$index, scope.row)">删除</el-button>
                            </template>
                        </el-popconfirm>
                    </template>
                </el-table-column>
            </el-table>
        </template>
        <template #ft>本项目由千峰H2208陈天明出版</template>
    </QfPage>
</template>
<script>
import { defineComponent } from 'vue';
export default defineComponent({
    data() {
        return {
            tableData: [
                {
                    no: 1,
                    evaluate: '好评',
                    comment: '小区里的设施也不少，孩子可以玩。交通便利，不开车也不用担心出行问题了！',
                    housesName: '西山锦绣府',
                    isverify: '未审核',
                    user: '张三',
                    date: '2016-05-03',

                },
            ]
        }
    }
})
</script>